package com.kayt.cyberBar.cuser.business.server;

import java.sql.SQLException;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.cuser.business.entity.po.BExamRule;
import com.kayt.cyberBar.cuser.business.entity.req.vo.ExamRuleReqVO;
import com.kayt.cyberBar.cuser.business.entity.rsp.vo.ExamRuleOperateRspVO;
import com.kayt.cyberBar.cuser.business.entity.rsp.vo.ExamRuleRspVO;

public interface IPublicExamRuleServer {
	public BExamRule add_examRule(ExamRuleReqVO examRuleReqVO);

	public BExamRule mod_examRule(ExamRuleReqVO examRuleReqVO);
	
	ExamRuleOperateRspVO getExamRuleOperateData();

	public Integer del_examRule(String statusId);

	public PageData<BExamRule> get_examRule_list(ExamRuleReqVO examRuleReqVO);
	
	public ServerResponse<ExamRuleRspVO> assemble_result(BExamRule type);
	
	public ServerResponse<ExamRuleOperateRspVO> assemble_result(ExamRuleOperateRspVO operateRspVO);

	public ServerResponse<String> assemble_result_string(int resultCount);

	public ServerResponse<PageData<ExamRuleRspVO>> assemble_result_list(PageData<BExamRule> pageData);
	
	public PageData<BExamRule> getExamRulePageByStoreCode(String storeCode, Integer pageNum, Integer pageSize) throws SQLException;
	
	
}
